///**
// * Created with IntelliJ IDEA.
// * Description:
// * User: Hua YY
// * Date: 2025-01-31
// * Time: 23:50
// */
////class Shape{
////    public void draw(){
////        System.out.println("画一个形状");
////    }
////}
////class Circle extends Shape{
////    @Override
////    public void draw(){
////        System.out.println("画一个圆形");
////    }
////}
////
////class Rectangle extends Shape{
////    @Override
////    public void draw(){
////        System.out.println("画一个矩形");
////    }
////}
////class RedCircle extends Shape{
////    @Override
////    public void draw(){
////        System.out.println("画一个红色的圆形");
////    }
////}
//
//class Circle implements Shape{
//    private Color color;
//    public Circle(Color color){
//        this.color = color;
//    }
//    @Override
//    public void draw(){
//        System.out.println("画一个圆形");
//        color.applyColor();
//    }
//
//}
//public class Test1 {
//}
